package kgc.crm.service;

import kgc.crm.model.AdminDept;
import com.baomidou.mybatisplus.extension.service.IService;
import kgc.crm.model.User;
import org.springframework.http.ResponseEntity;

public interface AdminDeptService extends IService<AdminDept>{
    //查询部门（级联）
    public ResponseEntity listAll();
    //添加部门
    public ResponseEntity addDept(AdminDept dept);
    //编辑部门
    public ResponseEntity updDept(AdminDept dept);
    //删除部门
    //只能删除子部门
    public ResponseEntity delDept(AdminDept dept);
}
